import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    text1: "", 
    text2: "",
    text3: "",
    digit: "",
    password: "",
  },
  getters: {
  },
  mutations: {
    gai(state,prop){
      state.digit=prop
    },
    // 第二哥参数事件接受的值
    gai3(state,value){
      state.text3 = value
    },
    mima(state,value){
      state.password = value
    }
  },
  actions: {
  },
  modules: {
  }
})
